#ifndef TRIANGLE_H_
#define TRIANGLE_H_

#include "Primitive.h"

class Triangle : public PrimitiveObject
{
public:

	Triangle(TiXmlElement *elem);
	virtual ~Triangle(void) {}

	// Atributes
	Coord3 point1, point2, point3;

	// Methods
	void displayElement();
	
	// Class Atributes
	static ConcreteElementLoader<Triangle> *loader;
	
	// Class Methods
	static string Value() { return "triangle"; }
};

#endif